package com.emode.entity;

import java.util.Date;

/**
 * TopicV entity. @author MyEclipse Persistence Tools
 */

public class TopicV implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -3648486117139896428L;
	private Integer tid;
	private Integer sid;
	private String sname;
	private Integer uid;
	private String uname;
	private String uremark;
	private String avatar;
	private Integer tsId;
	private Integer tuId;
	private Integer treplyCount;
	private Integer topHidden;
	private String ttopic;
	private String tcontents;
	private Date ttime;
	private Integer tclickCount;
	private String tkeywords;
	private Date tlastReply;
	private Integer lastreplyId;

	// Constructors

	/** default constructor */
	public TopicV() {
	}

	/** minimal constructor */
	public TopicV(Integer tid, Integer treplyCount, Integer tclickCount) {
		this.tid = tid;
		this.treplyCount = treplyCount;
		this.tclickCount = tclickCount;
	}

	/** full constructor */
	public TopicV(Integer tid, Integer sid, String sname, Integer uid,
			String uname, String uremark, String avatar, Integer tsId,
			Integer tuId, Integer treplyCount, Integer topHidden,
			String ttopic, String tcontents, Date ttime,
			Integer tclickCount, String tkeywords, Date tlastReply,
			Integer lastreplyId) {
		this.tid = tid;
		this.sid = sid;
		this.sname = sname;
		this.uid = uid;
		this.uname = uname;
		this.uremark = uremark;
		this.avatar = avatar;
		this.tsId = tsId;
		this.tuId = tuId;
		this.treplyCount = treplyCount;
		this.topHidden = topHidden;
		this.ttopic = ttopic;
		this.tcontents = tcontents;
		this.ttime = ttime;
		this.tclickCount = tclickCount;
		this.tkeywords = tkeywords;
		this.tlastReply = tlastReply;
		this.lastreplyId = lastreplyId;
	}

	// Property accessors

	
	public Integer getTid() {
		return this.tid;
	}

	public Date getTtime() {
		return ttime;
	}

	public void setTtime(Date ttime) {
		this.ttime = ttime;
	}

	public Date getTlastReply() {
		return tlastReply;
	}

	public void setTlastReply(Date tlastReply) {
		this.tlastReply = tlastReply;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUremark() {
		return this.uremark;
	}

	public void setUremark(String uremark) {
		this.uremark = uremark;
	}

	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getTsId() {
		return this.tsId;
	}

	public void setTsId(Integer tsId) {
		this.tsId = tsId;
	}

	public Integer getTuId() {
		return this.tuId;
	}

	public void setTuId(Integer tuId) {
		this.tuId = tuId;
	}

	public Integer getTreplyCount() {
		return this.treplyCount;
	}

	public void setTreplyCount(Integer treplyCount) {
		this.treplyCount = treplyCount;
	}

	public Integer getTopHidden() {
		return this.topHidden;
	}

	public void setTopHidden(Integer topHidden) {
		this.topHidden = topHidden;
	}

	public String getTtopic() {
		return this.ttopic;
	}

	public void setTtopic(String ttopic) {
		this.ttopic = ttopic;
	}

	public String getTcontents() {
		return this.tcontents;
	}

	public void setTcontents(String tcontents) {
		this.tcontents = tcontents;
	}


	public Integer getTclickCount() {
		return this.tclickCount;
	}

	public void setTclickCount(Integer tclickCount) {
		this.tclickCount = tclickCount;
	}

	public String getTkeywords() {
		return this.tkeywords;
	}

	public void setTkeywords(String tkeywords) {
		this.tkeywords = tkeywords;
	}


	public Integer getLastreplyId() {
		return this.lastreplyId;
	}

	public void setLastreplyId(Integer lastreplyId) {
		this.lastreplyId = lastreplyId;
	}

}